package cn.edu.sgu.www.mhxysy.mapper.prop;

import cn.edu.sgu.www.mhxysy.vo.Imager;
import cn.edu.sgu.www.mhxysy.entity.prop.Prop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface PropMapper extends BaseMapper<Prop> {

    /**
     * 通过表名和数据ID查询数据
     * @param tableName 表名
     * @param primaryKey 数据ID
     * @return Imager
     */
    Imager selectProp(
            @Param("tableName") String tableName,
            @Param("primaryKey") String primaryKey
    );
}